home *** CD-ROM | disk | FTP | other *** search
- Path: news.uni-c.dk!news
- From: mberg@datashopper.dk (Michael Berg)
- Newsgroups: comp.sys.amiga.programmer
- Subject: SAS/C: How to end progs with NOSTARTUP?
- Date: 17 Feb 1996 21:07:54
- Organization: -+- NetGate Development -+-
- Message-ID: <4g5uo3$129@news.uni-c.dk>
- NNTP-Posting-Host: arhppp19.uni-c.dk
- Mime-Version: 1.1
- Content-Type: TEXT/PLAIN; charset=ISO-8859-1
- Content-Transfer-Encoding: 8BIT
- X-FTN-To: All
- X-Newsreader: Spot 1.3a #49/NetGate 1.1
-
- Hello All!
-
- A simple question: What is the correct way to abort a program which does
- not use startup code? How do I write a global cleanup() function which also
- *ends* the program? I normally just use exit(), but that obviously doesn't
- work without the correct startup code.
-
- I don't always have the time to read everything in this group, so please,
- if you reply, send me a copy in e-mail as well.
- __
- __/// Michael Berg
- \\X/ mberg@datashopper.dk
-
- .. One man's constant is another man's variable.
-
-